projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be33a69
)
MSVC 2012 fix. Type coercion to byte-oriented buffer.
author
Robert Lipe
<robertlipe@users.noreply.github.com>
Thu, 22 Dec 2016 01:02:39 +0000
(19:02 -0600)
committer
GitHub
<noreply@github.com>
Thu, 22 Dec 2016 01:02:39 +0000
(19:02 -0600)
jeeps/gpsserial.cc
patch
|
blob
|
history
diff --git
a/jeeps/gpsserial.cc
b/jeeps/gpsserial.cc
index e510f540cfaca968676e9dbb9eed44e2b0b218db..5ddd97aed09a369ec00c9395cdcc57771b980624 100644
(file)
--- a/
jeeps/gpsserial.cc
+++ b/
jeeps/gpsserial.cc
@@
-82,7
+82,7
@@
void GPS_Serial_Error(const char* mb, ...)
*s++ = ':';
*s++ = ' ';
- FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM, 0,
+ FormatMessage
A
(FORMAT_MESSAGE_FROM_SYSTEM, 0,
GetLastError(), 0, s, sizeof(msg) - b - 2, 0);
GPS_Error(msg);